/**
 * 
 */
package com.zuipin.vo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import net.sf.json.JSONObject;

/** 
 * @ClassName: CalculateOrderAmountVo 
 * @author wuyicheng
 * @time 2017年6月12日下午4:08:02 
 */
public class CalculateResultVo {
	private Long					memberId;			// 会员ID
	private List<ProductAmountVo>	productAmountVos;	// 商品信息
	private BigDecimal				useRedPacketSum;	// 使用的红包
	private BigDecimal				freightSum;			// 运费
	private BigDecimal				productPaySum;		// 商品总价（实际支付单价*数量）
	private BigDecimal				orderSum;			// 订单金额(实际支付)（不含充值）含运费
	private List<RedPacketVo>		redPacketList;		// 红包列表
	private List<UseRuleSetVo>		useRuleSetList;		// 使用的购物车规则
	private String					redPacketName;		// 红包名称
	private BigDecimal				amountToIntegral;	// 积分补差金额
	private Integer					useTotalIntegral;	// 使用总积分
	private Integer					totalIntegral;		// 积分总数
	private Short					isExistIntegralPro;	// 是否存在积分商品
	
	@ApiModelProperty(value = "会员ID", required = true)
	public Long getMemberId() {
		return memberId;
	}
	
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}
	
	@ApiModelProperty(value = "商品列表")
	public List<ProductAmountVo> getProductAmountVos() {
		return productAmountVos;
	}
	
	public void setProductAmountVos(List<ProductAmountVo> productAmountVos) {
		this.productAmountVos = productAmountVos;
	}
	
	@ApiModelProperty(value = "优惠金额")
	public BigDecimal getUseRedPacketSum() {
		return useRedPacketSum;
	}
	
	public void setUseRedPacketSum(BigDecimal useRedPacketSum) {
		this.useRedPacketSum = useRedPacketSum;
	}
	
	@ApiModelProperty(value = "快递金额")
	public BigDecimal getFreightSum() {
		return freightSum;
	}
	
	public void setFreightSum(BigDecimal freightSum) {
		this.freightSum = freightSum;
	}
	
	@ApiModelProperty(value = "商品总价")
	public BigDecimal getProductPaySum() {
		return productPaySum;
	}
	
	public void setProductPaySum(BigDecimal productPaySum) {
		this.productPaySum = productPaySum;
	}
	
	@ApiModelProperty(value = "订单金额(实际支付)（不含充值）含运费")
	public BigDecimal getOrderSum() {
		return orderSum;
	}
	
	public void setOrderSum(BigDecimal orderSum) {
		this.orderSum = orderSum;
	}
	
	@ApiModelProperty(value = "红包列表")
	public List<RedPacketVo> getRedPacketList() {
		return redPacketList;
	}
	
	public void setRedPacketList(List<RedPacketVo> redPacketList) {
		this.redPacketList = redPacketList;
	}
	
	public List<UseRuleSetVo> getUseRuleSetList() {
		return useRuleSetList;
	}
	
	public void setUseRuleSetList(List<UseRuleSetVo> useRuleSetList) {
		this.useRuleSetList = useRuleSetList;
	}
	
	@ApiModelProperty(value = "红包名称")
	public String getRedPacketName() {
		return redPacketName;
	}
	
	public void setRedPacketName(String redPacketName) {
		this.redPacketName = redPacketName;
	}
	
	@ApiModelProperty(value = "积分补差金额")
	public BigDecimal getAmountToIntegral() {
		return amountToIntegral;
	}
	
	public void setAmountToIntegral(BigDecimal amountToIntegral) {
		this.amountToIntegral = amountToIntegral;
	}
	
	@ApiModelProperty(value = "使用总积分")
	public Integer getUseTotalIntegral() {
		return useTotalIntegral;
	}
	
	public void setUseTotalIntegral(Integer useTotalIntegral) {
		this.useTotalIntegral = useTotalIntegral;
	}
	
	@ApiModelProperty(value = "积分总数")
	public Integer getTotalIntegral() {
		return totalIntegral;
	}
	
	public void setTotalIntegral(Integer totalIntegral) {
		this.totalIntegral = totalIntegral;
	}
	
	@ApiModelProperty(value = "是否存在积分商品1存在 0不存在")
	public Short getIsExistIntegralPro() {
		return isExistIntegralPro;
	}
	
	public void setIsExistIntegralPro(Short isExistIntegralPro) {
		this.isExistIntegralPro = isExistIntegralPro;
	}
	
	public static void main(String[] args) {
		CalculateResultVo calculateResultVo = new CalculateResultVo();
		List<ProductAmountVo> productAmountVos = new ArrayList<>();
		ProductAmountVo productAmountVo = new ProductAmountVo();
		productAmountVos.add(productAmountVo);
		calculateResultVo.setProductAmountVos(productAmountVos);
		System.out.println(JSONObject.fromObject(calculateResultVo).toString());
	}
	
}
